package goutils

import "strings"

type XString string

func (xs XString) StartWith(prefix string) bool {
	return strings.HasPrefix(string(xs), prefix)
}

func (xs XString) EndWith(suffix string) bool {
	return strings.HasSuffix(string(xs), suffix)
}

func (xs XString) Len() int {
	return len(xs)
}
